Guild icon
S3Drive
Community / support / Bug: Deleting a folder on Versioned Bucket
Avatar
I2rys (安全) 7/9/2024 11:17 PM
If Versioning is turned ON on iDrive E2, if you make a folder It's impossible to delete it even with Hard Delete. If you delete it, it's gone from explorer but after you refresh It'll be back.
Avatar
I haven't tested myself, but I remember this somewhat weird behavior on iDrive E2 only. Can you make sure that Versioning is also enabled on the S3Drive side for this iDrive profile? (edited)
blob_dancing 1
Avatar
I've checked that myself. iDrive E2 with versioning doesn't follow S3 standards and have similar bug that we've found and reported for MinIO: https://github.com/minio/minio/issues/17810 If you delete a folder, then all files within that folder gets deleted (from S3Drive perspective they land in Trash, from S3 perspective delete marker is created). Unfortunately iDrive still reports "folder" placeholder which isn't compliant with the S3 standard. If you hard delete, then S3Drive deletes all files within a folder in a same way as above. The difference is that after they're deleted S3Drive removes stored versions of these files, hard deleting them effectively. The issues is that "Delete markers" created during soft delete remained orphaned. That's not an issue with other S3 providers, but it's causing issue with iDrive E2. The temporary solution is to go to Trash and use the Cleanup (see screenshot). In the long-run we will try to delete "Delete Markers" during hard-delete. (edited)
I am creating this to understand what's MinIO view on this issue and if this is classified as a bug (and will eventually be fixed) or is a feature (https://xkcd.com/1172/) There was a similar o...
❤️ 1
Avatar
Avatar
Tom
I haven't tested myself, but I remember this somewhat weird behavior on iDrive E2 only. Can you make sure that Versioning is also enabled on the S3Drive side for this iDrive profile? (edited)
I2rys (安全) 7/10/2024 11:54 PM
The Versioning on S3Drive side is disabled only the iDrive bucket. I understand so that's why It only happens on iDrive E2 not other providers when I tried.
Exported 4 message(s)
Timezone: UTC+0